using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class LoadController : MonoBehaviour
{
    public Image load;
    void Start()
    {
        load.fillAmount = 0;
    }

   
    void Update()
    {
        load.fillAmount += Time.deltaTime / 3;
        if (load.fillAmount >= 1)
        {
            UnityEngine.SceneManagement.SceneManager.LoadScene("GameScene");
        }
    }
}
